#ifndef DELEGATE_H
#define DELEGATE_H
#include <QItemDelegate>
class delegate: public QItemDelegate
{

public:
    delegate(QWidget *parent = NULL):QItemDelegate(parent)
    {}

    QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,const QModelIndex &index) const override;
};
#endif // DELEGATE_H
